package cn.tedu.csmallpassport.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 添加管理员DTO类
 * @author Angelina
 * @since 0.0.1
 */
@Data
public class AdminAddNewDTO implements Serializable {

    private static final long serialVersionUID = 1L;
    /**
     * 数据id
     */
    private Long id;

    /**
     * 用户名
     */
    @ApiModelProperty(value = "用户名", required = true, example = "CaoXiangjuan")
    private String username;

    /**
     * 密码（密文）
     */
    @ApiModelProperty(value = "密码", required = true, example = "cxj12233")
    private String password;

    /**
     * 昵称
     */
    @ApiModelProperty(value = "昵称", required = false, example = "CXJ")
    private String nickname;

    /**
     * 头像url
     */
    @ApiModelProperty(value = "头像url", required = false, example = "./imgs/logo.png")
    private String avatar;

    /**
     * 手机号码
     */
    @ApiModelProperty(value = "手机", required = true, example = "12345678910")
    private String phone;

    /**
     * 电子邮箱
     */
    @ApiModelProperty(value = "邮箱", required = true, example = "123456789@qq.com")
    private String email;

    /**
     * 简介
     */
    @ApiModelProperty(value = "简介", required = true, example = "我是谁")
    private String description;
    /**
     * 是否启用，1=启用，0=未启用
     */
    @ApiModelProperty(value = "是否启用", required = true, example = "0")
    private int enable;


}
